.. _ocafilterarbitrarycurve: 1.1.1.13 OcaFilterArbitraryCurve ================================= Class Hierarchy: :ref:`OcaRoot ` : :ref:`OcaWorker ` : :ref:`OcaActuator ` : :ref:`OcaFilterArbitraryCurve ` .. cpp:class:: OcaFilterArbitraryCurve: OcaActuator Arbitrary-curve filter, with transfer function specified as amplitude and phase versus frequency. **Properties**: .. _ocafilterarbitrarycurve_classid: .. cpp:member:: static const OcaClassID ClassID = "1.1.1.13" Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the **OcaRoot** property. This property has id ``1.1``. .. _ocafilterarbitrarycurve_classversion: .. cpp:member:: static const OcaClassVersionNumber ClassVersion = 3 Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the **OcaRoot** property. This property has id ``1.2``. .. _ocafilterarbitrarycurve_samplerate: .. cpp:member:: OcaFrequency SampleRate Sampling rate inside the filter. Note: This rate is not necessarily the same as the Device input or output sampling rate. This property has id ``4.2``. .. _ocafilterarbitrarycurve_tfmaxlength: .. cpp:member:: OcaUint16 TFMaxLength Maximum number of points that the transfer function may specify This property has id ``4.4``. .. _ocafilterarbitrarycurve_tfminlength: .. cpp:member:: OcaUint16 TFMinLength Minimum number of points that the transfer function must specify This property has id ``4.3``. .. _ocafilterarbitrarycurve_transferfunction: .. cpp:member:: OcaTransferFunction TransferFunction Transfer function of the filter. This property has id ``4.1``. Properties inherited from :ref:`ocaactuator`: - :cpp:texpr:`OcaClassID` :ref:`OcaRoot::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaRoot::ClassVersion ` - :cpp:texpr:`OcaBoolean` :ref:`OcaRoot::Lockable ` - :cpp:texpr:`OcaLockState` :ref:`OcaRoot::LockState ` - :cpp:texpr:`OcaONo` :ref:`OcaRoot::ObjectNumber ` - :cpp:texpr:`OcaString` :ref:`OcaRoot::Role ` - :cpp:texpr:`OcaClassID` :ref:`OcaWorker::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaWorker::ClassVersion ` - :cpp:texpr:`OcaBoolean` :ref:`OcaWorker::Enabled ` - :cpp:texpr:`OcaString` :ref:`OcaWorker::Label ` - :cpp:texpr:`OcaTimeInterval` :ref:`OcaWorker::Latency ` - :cpp:texpr:`OcaONo` :ref:`OcaWorker::Owner ` - :cpp:texpr:`OcaMap` :ref:`OcaWorker::PortClockMap ` - :cpp:texpr:`OcaList` :ref:`OcaWorker::Ports ` - :cpp:texpr:`OcaClassID` :ref:`OcaActuator::ClassID ` - :cpp:texpr:`OcaClassVersionNumber` :ref:`OcaActuator::ClassVersion ` **Methods**: .. _ocafilterarbitrarycurve_gettransferfunction: .. cpp:function:: OcaStatus GetTransferFunction(OcaTransferFunction &TransferFunction) Gets the complex transfer function. This method has id ``4.1``. - :cpp:expr:`TransferFunction`: Output parameter. .. _ocafilterarbitrarycurve_settransferfunction: .. cpp:function:: OcaStatus SetTransferFunction(OcaTransferFunction TransferFunction) Sets the complex transfer function. This method has id ``4.2``. - :cpp:expr:`TransferFunction`: Input parameter. .. _ocafilterarbitrarycurve_getsamplerate: .. cpp:function:: OcaStatus GetSampleRate(OcaFrequency &Rate, OcaFrequency &minRate, OcaFrequency &maxRate) Gets the value and limits of the filter sampling rate. This method has id ``4.3``. - :cpp:expr:`Rate`: Output parameter. - :cpp:expr:`minRate`: Output parameter. - :cpp:expr:`maxRate`: Output parameter. .. _ocafilterarbitrarycurve_setsamplerate: .. cpp:function:: OcaStatus SetSampleRate(OcaFrequency Rate) Sets the filter sampling rate. This method has id ``4.4``. - :cpp:expr:`Rate`: Input parameter. .. _ocafilterarbitrarycurve_gettfminlength: .. cpp:function:: OcaStatus GetTFMinLength(OcaUint16 &Min) Gets the value and limits of the TFMinLength property. This method has id ``4.5``. - :cpp:expr:`Min`: Output parameter. .. _ocafilterarbitrarycurve_gettfmaxlength: .. cpp:function:: OcaStatus GetTFMaxLength(OcaUint16 &Max) Gets the value and limits of the TFMaxLength property. This method has id ``4.6``. - :cpp:expr:`Max`: Output parameter. Methods inherited from :ref:`ocaactuator`: - :ref:`OcaActuator::GetClassIdentification ` - :ref:`OcaActuator::GetLockable ` - :ref:`OcaActuator::GetLockState ` - :ref:`OcaActuator::GetRole ` - :ref:`OcaActuator::SetLockNoWrite ` - :ref:`OcaActuator::SetLockNoReadWrite ` - :ref:`OcaActuator::Unlock ` - :ref:`OcaActuator::AddPort ` - :ref:`OcaActuator::DeletePort ` - :ref:`OcaActuator::DeletePortClockMapEntry ` - :ref:`OcaActuator::GetEnabled ` - :ref:`OcaActuator::GetLabel ` - :ref:`OcaActuator::GetLatency ` - :ref:`OcaActuator::GetOwner ` - :ref:`OcaActuator::GetPath ` - :ref:`OcaActuator::GetPortClockMap ` - :ref:`OcaActuator::GetPortClockMapEntry ` - :ref:`OcaActuator::GetPortName ` - :ref:`OcaActuator::GetPorts ` - :ref:`OcaActuator::SetEnabled ` - :ref:`OcaActuator::SetLabel ` - :ref:`OcaActuator::SetLatency ` - :ref:`OcaActuator::SetPortClockMap ` - :ref:`OcaActuator::SetPortClockMapEntry ` - :ref:`OcaActuator::SetPortName `